const { override, fixBabelImports, addPostcssPlugins, } = require('customize-cra')

module.exports = override(
    addPostcssPlugins([require('postcss-px2rem-exclude')({ remUnit: 75, exclude: /node_modules/i })]),
    fixBabelImports('import', {
        libraryName: 'antd-mobile',
        style: 'css'
    }),
)